package com.myteam.fugaocrm.contant;

import java.util.HashMap;
import java.util.Map;

public enum ENUM_PROJECT_STATUS {

	BEFORE("1", "项目机会"),
	IMPLAMENT("2", "项目执行"),
	REVOKE("3", "项目废除"),
	FINISH("4", "项目完成")
	;

	ENUM_PROJECT_STATUS(String code, String value){
        this.code = code;
        this.value = value;
    }

    private String code;

    private String value;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
    
    public static  Map<String, String> getProjectStatus(){
    	Map<String, String> map = new HashMap<String, String>();
    	map.put(BEFORE.getCode(), BEFORE.getValue());
    	map.put(IMPLAMENT.getCode(), IMPLAMENT.getValue());
    	map.put(REVOKE.getCode(), REVOKE.getValue());
    	map.put(FINISH.getCode(), FINISH.getValue());
    	return map;
    }
}
